#!/bin/bash
#sed replace string
if [ $# = 3 ];then
	sed "s/$1/$2/g" $3
else
	echo "Usage:`basename ${0}` oldstr newstr ip.txt"
fi

